some refactor in leftClickOneDeck() function