void RenameDeck(object s) { var NewName = s as string; CardDatabase = new CardDB(Deck); CardDatabase.MigrateCards(Deck, NewName); Deck.Name = NewName; DeckDatabase.UpdateDeck(Deck); PopupNavigation.PopAsync(); }