private void ButtonSave_Click(object sender, RoutedEventArgs e)
        {
            // setting a website as the url file will force the app into a read-only mode (no ability to add or edit breakpoints)

            if (textSaveFile.Text.Substring(0, 7) == "http://")
            {
                MessageBox.Show("Note: setting the data location to a URL sets the program to a read only mode!");
                editSettings.isURL = true;
            }
            else
            {
                editSettings.isURL = false;
            }

            editSettings.SaveFile = textSaveFile.Text;
            editSettings.saveSettings();
            bpm._settings = editSettings;
            bpm.LoadXML();
            this.Close();
        }