Restrict addGeofence and getLastLocation