         return areControlsHidden()
     }
     
-    public override func didReceiveMemoryWarning() {
+    override public func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
         recycledPages.removeAll()
     }
     
-    // MARK: - set startup values
+    override public func preferredStatusBarStyle() -> UIStatusBarStyle {
+        return statusBarStyle ?? super.preferredStatusBarStyle()
+    }
     
     // MARK: - setting of buttons
     // This function should be at the beginning of the other functions

                    self.backgroundView.alpha = 1.0
                    self.resizableImageView.frame = finalImageViewFrame
                
                    if self.displayCloseButton == true {
                        self.closeButton.alpha = 1.0
                        self.closeButton.frame = self.closeButtonShowFrame
                    }
                    if self.displayDeleteButton == true {
                        self.deleteButton.alpha = 1.0
                        self.deleteButton.frame = self.deleteButtonShowFrame
                    }
                    if self.displayCustomCloseButton == true {
                        self.customCloseButton.alpha = 1.0
                        self.customCloseButton.frame = self.customCloseButtonShowFrame
                    }
                    if self.displayCustomDeleteButton == true {
                        self.customDeleteButton.alpha = 1.0
                        self.customDeleteButton.frame = self.customDeleteButtonShowFrame
                    }

        performPresentAnimation()
    }
    
    override public func viewWillAppear(animated: Bool) {
        super.viewWillAppear(true)
        reloadData()
        
