Gotham fix: masterlockcode is not saved

masterlockcode is never saved and not set upon xbmc restart cause one do not save profiles.xml when leaving WindowsSettingsCategory.