Calling App::quit() when Quit button is clicked