Add an UpdateConfiguration method in mainForm which is called when configuration parameters are saved instead of calling again the entire Configure method and do unneeded things.