Bug 952292 - Add an initialized variable to Geoloc app, update UI test t...

...o wait for the variable to be true