Added Function to access location from anywhere