Fix a crash on unavailability of a location provider

If a location provider is unavailable (e.g. the user disabled it in the settings menu) than the client will crash because an IllegalArgumentException is not caught. The provider cannot be changed in the settings menu because the client will crash before the user can select another provider.

Maybe a message should be added informing the user about the unavailability of the provider.