     }
     
     // MARK: - Helper Functions
-    func snapshot(view: UIView!) -> UIImage!
-    {
+    func snapshot(view: UIView!) -> UIImage! {
         UIGraphicsBeginImageContextWithOptions(view.bounds.size, true, 0)
         view.drawViewHierarchyInRect(view.bounds, afterScreenUpdates: true)
         let image : UIImage = UIGraphicsGetImageFromCurrentImageContext()

        }
        
        //Add the top dismiss button if enabled
        if (promptDismissIconVisibility)
        {
            let dismissButton   = UIButton(type: UIButtonType.System)
            dismissButton.frame = CGRectMake(5, 17, 35, 35)
            dismissButton.addTarget(self, action: #selector(SwiftPromptsView.dismissPrompt), forControlEvents: UIControlEvents.TouchUpInside)

        self.layer.addAnimation(applicationLoadViewIn, forKey: kCATransitionReveal)
    }
    
    func panelButtonAction(sender:UIButton?) {
        switch (sender!.tag) {
        case 1:
            delegate?.clickedOnTheMainButton?()
