Allowed setCard() to take a card id instead of an index