added pause before restarting the game