To activate or deactivate flight mode, press fn+F10 and select the airplane icon.