allowing location service and reading current location