Added proper GPS detection of nearby profiles, updated getNextProfile