changed the visibility of isBetterLocation