 		
 		os_log(.debug, log: log, "Begin importing OPML...")
 		opmlImportInProgress = true
+		refreshProgress.addToNumberOfTasksAndRemaining(1)
 		
 		caller.importOPML(opmlData: opmlData) { result in
 			switch result {
 			case .success(let importResult):
 				if importResult.complete {
 					os_log(.debug, log: self.log, "Import OPML done.")
+					self.refreshProgress.completeTask()
 					self.opmlImportInProgress = false
 					DispatchQueue.main.async {
 						completion(.success(()))

				}
			case .failure(let error):
				os_log(.debug, log: self.log, "Import OPML failed.")
				self.opmlImportInProgress = false
				DispatchQueue.main.async {
					let wrappedError = AccountError.wrappedError(error: error, account: account)

					case .failure(let error):
						os_log(.debug, log: self.log, "Import OPML check failed.")
						timer.invalidate()
						self.refreshProgress.completeTask()
						self.opmlImportInProgress = false
						DispatchQueue.main.async {
							completion(.failure(error))
