add comfirmation alertbox when user presses the back button

onBackPressed deal with the condition when back button is pressed.

android.view.View.OnClickListener() is conflicted with
content.DialogInterface.OnClickListener(), So need  write the full path
of android.content.DialogInterface.OnClickListener().