         let cancelButton = UIButton(frame: CGRectMake(0, self.frame.size.height - buttonHeight, buttonWidth, buttonHeight))
         let cancelButtonTxt = (self.cancelButtonText ?? "Cancel")
         cancelButton.setTitle(cancelButtonTxt as String, forState: UIControlState.Normal)
-        cancelButton.addTarget(self, action: "cancelButtonTapped", forControlEvents: .TouchUpInside)
+      cancelButton.addTarget(self, action: #selector(self.cancelButtonTapped), forControlEvents: .TouchUpInside)
         cancelButton.titleLabel?.font = UIFont.systemFontOfSize(16)
         cancelButton.setTitleColor((self.blurEffectStyle == .Dark) ? UIColor.whiteColor() : UIColor.blackColor(), forState: .Normal)
         cancelButton.setTitleColor(UIColor.grayColor(), forState: .Highlighted)

        
        if self.style == .NumberInput {
            self.textInput?.keyboardType = .NumberPad
            self.textInput?.addTarget(self, action: "textInputDidChange", forControlEvents: .EditingChanged)
            
            /**
            *  Validation Label

        let submitButton = UIButton(frame: CGRectMake(buttonWidth, self.frame.size.height - buttonHeight, buttonWidth, buttonHeight))
        let submitButtonTxt = (self.submitButtonText ?? "OK")
        submitButton.setTitle(submitButtonTxt as String, forState: UIControlState.Normal)
      submitButton.addTarget(self, action: #selector(self.submitButtonTapped), forControlEvents: .TouchUpInside)
        submitButton.titleLabel?.font = UIFont.systemFontOfSize(16)
        submitButton.setTitleColor((self.blurEffectStyle == .Dark) ? UIColor.whiteColor() : UIColor.blackColor(), forState: .Normal)
        submitButton.setTitleColor(UIColor.grayColor(), forState: .Highlighted)
