Change so dock widget preferences are saved depending on which autopilot is currently active