getting the registered geofences from sqlite