Modifications for add a cards array and onClickCardListener