private void SaveData() { //Do not perform save operation if database wasn't fully loaded if (!_databaseLoaded) { return; } _options.Save(); _dataContext.Save(); _ratesService.Save(); }