Turning airplane mode on or off