finish menu and start main page