Functionality was added to app button, to close app.