private void StartGame_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                WriteConfig writeConfig = new WriteConfig(_errorHandler);
                writeConfig.UpdateLauncherConfig(new Dictionary<string, string>() { { "<lastLaunchGame>", (string)ListOfMods.SelectedItem }, { "<lastLaunchMode>", (string)ListOfLaunchMode.SelectedItem } });

                writeConfig.WriteConfigBySelectionGame(ListOfMods.SelectedValue.ToString(), _configReader.Games, _configReader.ListBaseConfigDictionary);

                var hdMode = _configReader.ReadHdMode();

                switch (hdMode)
                {
                    case "WithOutHD":
                        writeConfig.WriteConfigBySelectionGame(ListOfMods.SelectedValue.ToString(), _configReader.Games, _configReader.ListWithOutHdConfigDictionary);
                        break;
                    case "WithHDWithDefaultSight":
                        writeConfig.WriteConfigBySelectionGame(ListOfMods.SelectedValue.ToString(), _configReader.Games, _configReader.ListWithHdWithDefaultSightConfigDictionary);
                        break;
                    case "WithHDWithSmallSight":
                        writeConfig.WriteConfigBySelectionGame(ListOfMods.SelectedValue.ToString(), _configReader.Games, _configReader.ListWithHdWithSmallSightConfigDictionary);
                        break;
                    case "WithHDWithHardcoreSight":
                        writeConfig.WriteConfigBySelectionGame(ListOfMods.SelectedValue.ToString(), _configReader.Games, _configReader.ListWithHdWithHardcoreSightConfigDictionary);
                        break;
                    case "WithHDWithOvalSight":
                        writeConfig.WriteConfigBySelectionGame(ListOfMods.SelectedValue.ToString(), _configReader.Games, _configReader.ListWithHdWithOvalSightConfigDictionary);
                        break;
                }

                var fullScreenList = new List<Dictionary<string, string>>();
                for (var i = 0; i < _configReader.Games.Length; i++)
                {
                    fullScreenList.Add(new Dictionary<string, string>() {{"r_fullScreen", _configReader.FullScreen}});
                }
                writeConfig.WriteConfigBySelectionGame(ListOfMods.SelectedValue.ToString(), _configReader.Games, fullScreenList);

                string parametr = string.Empty;
                string console = string.Empty;

                if (ListOfLaunchMode.SelectedIndex == 0)
                {
                    parametr = " /AFFINITY 0x2";
                }

                if (_configReader.Console)
                {
                    console = "-console";
                }

                string command = String.Format("{0} {1} {2} {3}", "/C start", parametr,
                    "\"Ex Machina\" " + _configReader.ExeName, console);
                Process cmd = new Process();
                cmd.StartInfo.WorkingDirectory = Directory.GetCurrentDirectory();
                cmd.StartInfo.FileName = "cmd.exe";
                cmd.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
                cmd.StartInfo.Arguments = command;
                cmd.Start();
                this.Close();

            }
            catch (Exception ex)
            {
                _errorHandler.CallErrorWindows(ex, "StartGame_Click");
            }
        }