Added getting and stopping getting location to app delegate.