Added onClick for newCard