                 iteration = nil
             }
         } while (iteration != nil)
-
+        
         return iteration as? PieOverlayMenuProtocol
     }
-
+    
     internal func topMostController () -> PieOverlayMenuProtocol? {
         var topController : UIViewController? = UIApplication.shared.keyWindow?.rootViewController
         if (topController is UITabBarController) {

        self.menuViewController?.viewDidDisappear(animated)
        _ = self.menuViewController?.popToRootViewControllerAnimated(true)
    }

    open func getMenuViewController() -> PieOverlayMenuContentViewController? {
        return self.menuViewController
    }

    open override var preferredStatusBarStyle: UIStatusBarStyle {
        return self.visibleViewController?.preferredStatusBarStyle ?? .default
    }

}

extension UIViewController {
    public func pieOverlayMenuContent() -> PieOverlayMenuContentViewController? {
        return self.pieOverlayMenu()?.getMenuViewController()
    }

    public func pieOverlayMenu() -> PieOverlayMenuProtocol? {
        var iteration : UIViewController? = self.parent
        if (iteration == nil) {

        visibleViewController = viewController
        setNeedsStatusBarAppearanceUpdate()
    }
    
    open func setContentViewController(_ viewController: UIViewController, animated: Bool) {
        //TODO: Implement animated
        self.contentViewController?.viewWillDisappear(animated)
