Incidentally her conditioned response to retract the flaps probably came from her time as an instructor demonstrating stall recovery (the student would be in the left seat, and the instructor retracts the flaps to aid recovery unprompted).
Retracting flaps on a stalled wing does not aid the recovery, it just makes it worse. Any instructor that does this to their students will be in for a wild ride.
The Colgan FO's action of retracting the flaps on that stalled Dash 8 led to the aircraft making a half turn spin entry. Had she just given the CA landing flaps they would have probably lived another day.
Ever wonder why flaps down stall speed is lower than clean?