Created observer pattern for location and activity changes.
Merged event listener.