   private var milesCountDay: Int = 0
   private var milesCountWeek: Int = 0
   private var commitment: Int = 0
+  private var healthKitDataProvider = HealthKitDataProvider()
 
   enum DashboardContext: Context {
     case inviteSupporters

          break
        }
      }
      HealthKitDataProvider().retrieveDistance(forInterval: weekInterval) { [weak self] (result) in
        switch result {
        case .success(let count):
          self?.milesCountWeek = count


    switch UserInfo.pedometerSource {
    case .healthKit:
      healthKitDataProvider.retrieveDistance(forInterval: dayInterval) { [weak self] (result) in
        switch result {
        case .success(let count):
          self?.milesCountDay = count
