     }
     
     func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool {
-        NSApplication.shared.dockTile.badgeLabel = ""
+        showDockTitleBadge("")
         return true
     }
     

            stopTimer()
            progressIndicator.stopAnimation(self)
        }
        NSApplication.shared.dockTile.badgeLabel = (run || NSApplication.shared.isActive) ? "" : "1"
    }
    
    fileprivate func showFilePaths(_ paths: [String]?, label: NSTextField?) {

        return max(Int(sMaxConcurrentOperations) ?? 1, 1)
    }
    
    fileprivate func updateRunState(withDockTitle: Bool = true) {
        let count = operations.count
        let run = count > 0
        buttonCancel.isHidden = !run
