Close the current tab after launching app.