protected override Task OnKeyDown(ActionEventArgs <KeyPayload> args)
 {
     if (toggleEvent.HasValue)
     {
         flightConnector.Toggle(toggleEvent.Value);
     }
     return(Task.CompletedTask);
 }