Geolocation upset alert

Every time I run a function that takes geolocalizacion this annoying alert “Would like to use your current location” appears and only in a particular function, elsewhere in my application I hold the same function and the question is only done when installed first application or if the GPS is disabled service for my application and is far more comfortable and formal message, because this is not displayed.