to stop app from exiting abruptly when accessibility enabled

An alertDialog pops up to confirm exiting from application.