     
     func activate()
     {
-        setTitleColor(
-            UIColor.black,
+        setImage(
+            #imageLiteral(resourceName: "assetHomeCancel").withRenderingMode(UIImageRenderingMode.alwaysOriginal),
             for:UIControlState.normal)
-        setTitleColor(
-            UIColor(white:0, alpha:0.2),
-            for:UIControlState.highlighted)
-        isUserInteractionEnabled = true
-        layer.borderColor = UIColor.black.cgColor
     }
     
     func deactivate()
     {
-        setTitleColor(
-            UIColor(white:0, alpha:0.2),
+        setImage(
+            #imageLiteral(resourceName: "assetHomeCancel").withRenderingMode(UIImageRenderingMode.alwaysTemplate),
             for:UIControlState.normal)
-        isUserInteractionEnabled = false
-        layer.borderColor = UIColor(white:0, alpha:0.2).cgColor
     }
 }

            action:#selector(actionCancel(sender:)),
            for:UIControlEvents.touchUpInside)
        self.controller = controller
    }
    
    //MARK: actions

        self.init()
        translatesAutoresizingMaskIntoConstraints = false
        clipsToBounds = true
        imageView!.tintColor = UIColor.background
        imageView!.contentMode = UIViewContentMode.center
        imageView!.clipsToBounds = true
        addTarget(
