Changed CardSelector

- Changed it so that when the user presses okay or view with nothing
selected, the program will just close the window.