Change showAlert method on class MainActivity