Wait for getGPSLocation to finish at refreshing