add confirmation dialog before exiting the app by back button