//select button
        private void button1_Click(object sender, EventArgs e)
        {
            OpenFileDialog FBD = new OpenFileDialog();

            FBD.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Logitech\\Logitech Gaming Software\\profiles";
            if (FBD.ShowDialog() == DialogResult.OK)
            {
                Properties.Settings.Default.profilePath = FBD.FileName;
                Properties.Settings.Default.Save();
            }
            NoReciolScript.checkProfile();
            NoReciolScript.killLogiDriver();
            NoReciolScript.makeProfileDefualt();
            NoReciolScript.startLogiDriver();
        }
        //start button
        private void button2_Click(object sender, EventArgs e)
        {
            if (!Properties.Settings.Default.profilePath.Equals(""))
            {
                started = true;

                if (!Properties.Settings.Default.profilePath.Equals(""))
                {
                    NoReciolScript.killLogiDriver();
                    NoReciolScript.makeProfileDefualt();
                    NoReciolScript.startLogiDriver();
                }

                if (Properties.Settings.Default.openWithPUBG)
                {
                    Process.Start("steam://rungameid/578080");
                }

                //WindowState = FormWindowState.Minimized;
                weaponIndex = -1;
                switchGunRecoilAsync(null);
                button2.Text = "Running";
            }
        }