public List<SWSetting> GetSettingsData()
 {
     SWSettingsList swSettingsList = new SWSettingsList();
     if(swSettingsList.DeserializeSettings() == true)
     {
         return swSettingsList.SwSettings;
     }
     return null;
 }
 public void UpdateSettingsData(List<SWSetting> swSettings)
 {
     SWSettingsList swSettingsList = new SWSettingsList() { SwSettings = swSettings };
     swSettingsList.SerializeSettings();
 }