Add code to check number of times the card was clicked and then adds the appropriate text value