Adding Alert Dialog to OnResume