Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
        private void Refresh()
        {
            this.settingsRepository = new SettingsRepository();
            this.currentSettings = settingsRepository.GetCurrentSettings();
            this.Resolutions = new ObservableCollection<PhotoResolution>(settingsRepository.GetAvailablePhotoResolutions());

            this.IsCheckForNewSurveysOnStart = this.currentSettings.CheckForNewSurveys;
            this.IsGpsEnabled = this.currentSettings.IsGpsEnabled;
            this.SelectedResolution = this.Resolutions.SingleOrDefault(item => item.ID == this.currentSettings.PhotoResolutionID);
            this.UpdateLanguages();
            this.ServerPath = this.currentSettings.Server != null ? this.currentSettings.Server.Address : string.Empty;
            this.IsNeedUpdate = true;
            this.IsNeedUpdate = false;
        }
 partial void UpdatePhotoResolution(PhotoResolution instance);
 partial void DeletePhotoResolution(PhotoResolution instance);
 partial void InsertPhotoResolution(PhotoResolution instance);