fix locationmanager lifecycle
remove support of ios5