Adding button to select a deck. Also includes handling for closing the currently open deck (to free up the files).