Working code for Geo-fencing

Note: this version works with only one saved activity location.