LocationTracker fix

When the GPS is enabled the location is taken with the GPS provider.
Else the location is taken with the Network provider.

There is an issue I don't know how to fix. On the emulator only the GPS
provider is working. On a real device only the Network provider is
working.