I continued to make the app more modular by creating separate classes
for each alert dialog. I also created a dialog class to inform the user
when gps/wifi is disabled