Added function - adding item to a card