Get current location multiple times to fix null pointer exception