         CATransaction.commit()
     }
 
-    private func updateColor() {
+    @objc private func updateColor() {
         progressLayer.strokeColor = fillColor.cgColor
         progressBackgroundLayer.strokeColor = fillColor.withAlphaComponent(0.15).cgColor
     }

        layoutProgressLayer()
    }

    override func updateLayer() {
        updateColor()
    }

    func startAnimating() {
        isAnimating = true
    }


        layoutProgressLayer()
        updateColor()

        NotificationCenter.default.addObserver(self,
                                               selector: #selector(updateColor),
                                               name: NSColor.systemColorsDidChangeNotification,
                                               object: nil)
    }

    private func makeProgressCircle() -> CGPath {
