public void EditProfile(Profile profile)
 {
     ActiveProfile = new ProfileEditorViewModel(profile)
     {
         IsEditEnabled = true
     };
 }
 public void ViewProfile(Profile profile)
 {
     ActiveProfile = new ProfileEditorViewModel(profile)
     {
         IsEditEnabled = false
     };
 }
 public void CancelEdit()
 {
     ActiveProfile.Cancel();
     ActiveProfile = null;
 }
 public void DeleteProfile(Profile config_Profiles)
 {
     ActiveProfile = null;
     Config.Profiles.Remove(config_Profiles);
 }