Moved Code for buttons into DeckImportFlyout