Added more functionality to the graphical representation of a card