public void SaveCurrentPreferences() { Preferences = XmlSerializationHelper.SerializeToXElement(ProjPreferences); }