Added setFlightMode