Added onclick event in card view