handle geofence here button
merge changes to geo-fences.js