private void StartNewSession()
        {
            var dialog = new NewSessionDialog {Owner = Application.Current.MainWindow};

            if (dialog.ShowDialog() == true)
            {
                var newSessionId = _informationEngine.AddSession(dialog.ViewModel.SelectedReceiver,
                                                                 dialog.ViewModel.SelectedAnalysis);

                SelectedSessionViewModel = SessionViewModels.Single(x => x.SessionId == newSessionId);

                InitializeReceiverCommand.Execute(new Tuple<Guid, IReceiver>(SelectedSessionViewModel.SessionId,
                                                                             SelectedSessionViewModel.Receiver));
            }
        }
        private void AddNewAnalysis()
        {
            var dialog = new NewSessionDialog
                {
                    Owner = Application.Current.MainWindow,
                    ViewModel =
                        {
                            IsReceiverSelectionEnabled = false,
                            SelectedReceiver = Receiver,
                            Title = "Neue Analyse hinzufügen"
                        }
                };

            if (dialog.ShowDialog() == true)
            {
                var newAnalysis = dialog.ViewModel.SelectedAnalysis;

                Analysis.Add(newAnalysis);

                SelectedAnalysis = newAnalysis;
            }
        }