Added missing checks to detect when user location is null and
alternative behaviors. This caused a crash when app was cached.