Refactoring and adding Toast if Maps is down.