         mainPath.removeAllPoints()
         shapeLayer?.path = mainPath.cgPath
         passwordContainer = ""
-        setNeedsDisplay()
+        drawLine()
     }
 }


    override func touchesBegan(_ touches: Set<UITouch>, with _: UIEvent?) {
        lockHandle(touches)
        handleBack()
    }

    override func touchesMoved(_ touches: Set<UITouch>, with _: UIEvent?) {

        fatalError("init(coder:) has not been implemented")
    }

    private func drawLine() {

        if selectedItemViews.isEmpty { return }

