             outerPieFrameView.centerYAnchor.constraint(equalTo: self.centerYAnchor)
         ])
 
+        button = UIButton(type: .system)
+        button.translatesAutoresizingMaskIntoConstraints = false
+        button.frame = .zero
+        button.setImage(UIImage(named: "imgCircle"), for: .normal)
+        button.setTitle("", for: .normal)
+        button.tintColor = UIColor(red: 0.2, green: 0.2, blue: 0.25, alpha: 1)
+        button.isUserInteractionEnabled = false
+        addSubview(button)
+        NSLayoutConstraint.activate([
+            button.widthAnchor.constraint(equalTo: self.widthAnchor, constant: -8),
+            button.heightAnchor.constraint(equalTo: self.heightAnchor, constant: -8),
+            button.centerXAnchor.constraint(equalTo: self.centerXAnchor),
+            button.centerYAnchor.constraint(equalTo: self.centerYAnchor)
+        ])
 
         label = UILabel(frame: .zero)
         label.translatesAutoresizingMaskIntoConstraints = false

//    }


}

    private var outerPieValueView: PieProgressView!
    private var outerPieFrameView: PieProgressView!

    private var longTapGestureRecognizer: UILongPressGestureRecognizer!
    private var tapGestureRecognizer: UITapGestureRecognizer!
    private var touchStartTime: Date?

    convenience init(pin: DevicePin) {
