 		if availableHeight.rounded() >= lastCellIntrinsicHeight {
 			dynamicLastCellHeight = availableHeight
 		}
+		needRefreshDynamicLastCellHeight = false
 	}
 	
 	func refreshDynamicLastCellHeight() {
-		dynamicLastCellHeight = nil
+		needRefreshDynamicLastCellHeight = true
 		DispatchQueue.main.async {
 			self.updateFillUsingLastCell()
 			self.refreshCellHeights()

    @IBInspectable var intrinsicHeightCells: Bool = false
	
	fileprivate var isDynamicLastCell: Bool = false
	fileprivate var dynamicLastCellHeight: CGFloat?
	fileprivate var previousRowFrame = CGRect()
	

        if intrinsicHeightCells || filledUsingLastCell {
            tableView.estimatedRowHeight = 44.0
        }
		NotificationCenter.default.addObserver(self, selector: #selector(StaticTableViewController.UIApplicationDidChangeStatusBarFrameHandler(for:)), name: NSNotification.Name.UIApplicationDidChangeStatusBarFrame, object: nil)
    }
	
	override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
