Optimize GPS & Network location getting.