added autopilot switch with a space-bar