Fixed app so that it asks for permission to access location data in iOS 8.