Fixed the location services issue on iOS 8