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

        self.init()
        translatesAutoresizingMaskIntoConstraints = false
        clipsToBounds = true
        setImage(
            #imageLiteral(resourceName: "assetHomeCancel"),
            for:UIControlState.normal)
        imageView!.contentMode = UIViewContentMode.center
        imageView!.clipsToBounds = true
        addTarget(

    
    func activate()
    {
        setImage(
            #imageLiteral(resourceName: "assetHomeCancel").withRenderingMode(UIImageRenderingMode.alwaysOriginal),
            for:UIControlState.normal)
    }
    
    func deactivate()
    {
        setImage(
            #imageLiteral(resourceName: "assetHomeCancel").withRenderingMode(UIImageRenderingMode.alwaysTemplate),
            for:UIControlState.normal)
    }
}
