Move location code into a service so it will run sticky