remove click listener when game is finished