Added delegate method to example to flip the card.