Added functionality for app to find the device's location.