fixed issue with alertDialog
relocated the Dialog in the OptionsMenuActivity