private void OnStopCommand() { _interceptKeys.AllowedKeys = null; _codingDojo.Stop(); OnPropertyChanged("StopCommand"); _dispatcher.Invoke((Action)(() => _eventAggregator.GetEvent <KataFinishedEvent>().Publish(_codingDojo))); }