For my project I have settings that I added through the Settings in the project properties.
I quickly discovered that editing the app.config file directly seems to
System.Configuration.Configuration config =ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
config.AppSettings.Settings["oldPlace"].Value = "3";
config.Save(ConfigurationSaveMode.Modified);
ConfigurationManager.RefreshSection("appSettings");
Try with this code , is easy.
Atte: Erick Siliezar