Implements location services check. Fixes #38