Improved isValidLocation() method in GPSLocator