Improve code quality.

Fix starting geolocation service.