Works the card click event.