#8758 fix switching providers
Fixes the gateway selection. Previously, the GatewaySelector has choosen the shortest distance to a gateway of all providers used in the past. Now the profiles and gateways get reset after switching the provider. Thus, the GatewaySelector receives only gateways of the current provider and selects the nearest gateway advertised by that provider.