protected override void OnFrameTick(float dt)
 {
     base.OnFrameTick(dt);
     if (!_keybindingPopup.IsActive && _gauntletLayer.Input.IsHotKeyReleased("Exit"))
     {
         _dataSource.ExecuteCloseOptions();
         ScreenManager.TrySetFocus(_gauntletLayer);
         if (Game.Current != null)
         {
             Game.Current.GameStateManager.ActiveStateDisabledByUser = _dataSource.OldGameStateManagerDisabledStatus;
         }
         ScreenManager.PopScreen();
     }
     _keybindingPopup.Tick();
 }
 public override void OnMissionScreenTick(float dt)
 {
     base.OnMissionScreenTick(dt);
     if (_gauntletLayer == null)
     {
         return;
     }
     if (!_keybindingPopup.IsActive && _gauntletLayer.Input.IsHotKeyReleased("Exit"))
     {
         _dataSource.ExecuteCancel();
     }
     _keybindingPopup.Tick();
     if (_enableKeyBindingPopupNextTick)
     {
         _enableKeyBindingPopupNextTick = false;
         _keybindingPopup.OnToggle(true);
     }
 }