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

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

            setSelected(false, indicator: i)
        }
        showAppVersion()
        updateRunState(withDockTitle: false)
    }
    
    @IBAction func removeCalibration(_ sender: Any) {
