User location fix.

If GPS is disabled, this program crashes without this check.