exit app which clicking stop button