                 self.endRefreshing()
             }
 
-            self.historyPanel?.updateNumberOfSyncedDevices()
+            self.historyPanel?.updateSyncedDevicesCount().uponQueue(dispatch_get_main_queue()) { result in
+                self.historyPanel?.updateNumberOfSyncedDevices(self.historyPanel?.currentSyncedDevicesCount)
+            }
         }
     }
 

        } else if refreshControl?.refreshing == false {
            removeRefreshControl()
        }

        historyPanel?.updateNumberOfSyncedDevices()
    }

    /**

    @objc func refresh() {
        self.refreshControl?.beginRefreshing()
        resyncHistory()
    }

    /**
