     fileprivate var bridge: WKWebViewJavascriptBridge!
     fileprivate var postOperationViewController: PostOperationViewController?
     fileprivate var isLoading = false
+    fileprivate var isErrorOccured = false
     fileprivate lazy var moreButton: UIButton = { [unowned self] _ in
         let more = UIButton(type: .system)
         more.tintColor = C.Color.navigationBarTintColor

    }
    
    func loadData() {
        viewModel.loadData { [weak self] result in
            guard let `self` = self else { return }
            if !self.isLoading {

        pageNumberButton.setTitle(title, for: .normal)
        pageNumberButton.sizeToFit()
        refreshButton.imageView?.tintColor = C.Color.navigationBarTintColor
        
        if isErrorOccured {
            navigationItem.rightBarButtonItems = [UIBarButtonItem(customView: isLoading ? activityIndicator : refreshButton)]
        } else {
            navigationItem.rightBarButtonItems = [UIBarButtonItem(customView: moreButton),
                                                  UIBarButtonItem(customView: isLoading ? activityIndicator : refreshButton),
                                                  UIBarButtonItem(customView: replyButton),
                                                  UIBarButtonItem(customView: pageNumberButton)]
        }
    }
    
    fileprivate func animationOptions(of status: PostViewStatus) -> UIViewAnimationOptions {
