Closing the view when the game begin