-mActiveLocationProvider property, refactor code