Implementation to get current location in Home screen.