Fix 'use my current location' problem caused by rate limiting

This demo failed in XDK for me when trying 'use my current location'. It is timing dependent so the fail did not always happen. The API is limited to 2 calls/second.