 		}
 		for btn in buttons {
 			btn.backgroundColor = viewColor
+			if style == SCLAlertViewStyle.Warning {
+				btn.setTitleColor(UIColor.blackColor(), forState:UIControlState.Normal)
+			}
 		}
 		
         // Adding duration

		return txt
	}
	
	func addButton(title:String, action:()->Void)->UIButton {
		let btn = addButton(title)
		actions[btn] = action
		btn.addTarget(self, action:Selector("buttonTapped:"), forControlEvents:.TouchUpInside)
		return btn
	}
	
	func addButton(title:String, target:AnyObject, selector:Selector)->UIButton {
		let btn = addButton(title)
		btn.addTarget(target, action:selector, forControlEvents:.TouchUpInside)
		return btn
	}
	
	private func addButton(title:String)->UIButton {
		// Update view height
		kWindowHeight += 45.0
		// Add button
		let btn = UIButton()
		btn.layer.masksToBounds = true
		btn.setTitle(title, forState: .Normal)
		btn.titleLabel?.font = UIFont(name:kButtonFont, size: 14)

	var rootViewController:UIViewController!
    var durationTimer: NSTimer!
	private var inputs = [UITextField]()
	private var buttons = [SCLButton]()
	
    required init(coder aDecoder: NSCoder) {
        fatalError("NSCoding not supported")
