Added inputlistener with action to restart the game.