private async Task CreateBackup()
{
SetAllDirtyFlags();
var backupSuffix = ".backup";
var budgetStorageKey = this.budgetAnalyserDatabase.BudgetCollectionStorageKey;
this.budgetAnalyserDatabase.BudgetCollectionStorageKey += backupSuffix;
var ledgerStorageKey = this.budgetAnalyserDatabase.LedgerBookStorageKey;
this.budgetAnalyserDatabase.LedgerBookStorageKey += backupSuffix;
var matchingRuleStorageKey = this.budgetAnalyserDatabase.MatchingRulesCollectionStorageKey;
this.budgetAnalyserDatabase.MatchingRulesCollectionStorageKey += backupSuffix;
var statementStorageKey = this.budgetAnalyserDatabase.StatementModelStorageKey;
this.budgetAnalyserDatabase.StatementModelStorageKey += backupSuffix;
await SaveAsync();
this.budgetAnalyserDatabase.BudgetCollectionStorageKey = budgetStorageKey;
this.budgetAnalyserDatabase.LedgerBookStorageKey = ledgerStorageKey;
this.budgetAnalyserDatabase.MatchingRulesCollectionStorageKey = matchingRuleStorageKey;
this.budgetAnalyserDatabase.StatementModelStorageKey = statementStorageKey;
}