Added quit alert dialog when back button is pressed