added quick bandaid solution to the problem in which users can select the same card twice