Add card validation method

Adds a message that appears when the user does not have a positive integer for the card to add if the add card text box is focused. Fixes #289