Fixed the issue with applying changes in the plugins window resulting all the user settings being reset (closes #386).