implemented exit-button in main menu