Changing the behavior to pause the game

From now on the pause will be called using ESC key