unbinding the click event at the moment when the isGameOver and isGameWon are set to true