     }
 
 	@IBAction func showEdit(sender: AnyObject) {
-		let alert = SCLAlertView()
+        let appearance = SCLAlertView.SCLAppearance(showCloseButton: true)
+        let alert = SCLAlertView(appearance: appearance)
 		let txt = alert.addTextField("Enter your name")
-        alert.hideWhenBackgroundViewIsTapped = true
-		alert.addButton("Show Name") {
+        alert.addButton("Show Name") {
 			print("Text value: \(txt.text)")
 		}
 		alert.showEdit(kInfoTitle, subTitle:kSubtitle)

        let appearance = SCLAlertView.SCLAppearance(
            kTitleFont: UIFont(name: "HelveticaNeue", size: 20)!,
            kTextFont: UIFont(name: "HelveticaNeue", size: 14)!,
            kButtonFont: UIFont(name: "HelveticaNeue-Bold", size: 14)!)
        
        // Initialize SCLAlertView using custom Appearance
        let alert = SCLAlertView(appearance: appearance)

        
        // Add the subview to the alert's UI property
        alert.customSubview = subview
        alert.addButton("Login") {
            print("Logged in")
        }
