             }
         }
 
+        tabButtons = newTabButtons
+        titles = newTitles
         tabScrollView.contentSize = tabWrapperView.frame.size
 
         for view in scrollView.subviews {

                view.removeFromSuperview()
            }
        }

        let size = scrollWrapperView.frame.size
        let contentView = UIView(frame: CGRect.init(x: 0, y: 0, width: size.width * CGFloat(account.tabs.count), height: size.height))


            let button = createMenuButton(i, icon: icon)
            tabWrapperView.addSubview(button)
            newTabButtons.append(button)
            newTitles.append(title)

            if let statusVc = vc as? StatusTableViewController {
                let page = i
