calling onLocationFound behaves different at first