Found a bug

Fixed a bug with the doubleClick slot. Since it always required three
cards to transfer, when there was not enough cards, a null pointer
exception made the program crash.