disable button in flight