adding a class to the chosen card(s)