Detecting if Mobile environment is present locator has changed