 
         optionTableView.frame = CGRect(x: 0, y: headerViewHeight, width: view.frame.width, height: optionSheetHeight)
         actionSheetContainerView = UIView(frame: CGRect(x: 0, y: view.frame.height, width: view.frame.width, height: headerViewHeight + optionSheetHeight + cancelButtonHeight))
+        actionSheetContainerViewHeight = headerViewHeight + optionSheetHeight + cancelButtonHeight
         actionSheetContainerView.backgroundColor = .offWhite
 
         optionTableView.delegate = self

            statusBar.backgroundColor = .clear
            statusBar.alpha = 0.8
            self.darkBackgroundView.alpha = 0.8
            self.actionSheetContainerView.frame = CGRect(x: 0, y: self.view.frame.height - self.actionSheetContainerView.frame.height - self.safeArea.bottom, width: self.actionSheetContainerView.frame.width, height: self.actionSheetContainerView.frame.height + self.safeArea.bottom)
        }
    }
    

            }
            statusBar.alpha = 1
            self.darkBackgroundView.alpha = 0.0
            self.actionSheetContainerView.frame = CGRect(x: 0, y: self.view.frame.height, width: self.actionSheetContainerView.frame.width, height: 0)
        }, completion: { (completed: Bool) in
            completion?()
        })
