public MainViewModel() { ShowSelectSensorsPageCommand = new Command(ShowSelectSensorsPage); ShowSensorListPageCommand = new Command(ShowSensorListPage); locationService = new LocationService(this); Task.Run(() => locationService.CheckLocationPermissionsAsync()); Task turnOnBluetoothTask = EnableBluetoothAsync(); }