 extension FreshtabViewController: UITableViewDataSource, UITableViewDelegate, UIScrollViewDelegate {
 	
 	func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
-        return self.isNewsExpanded ? self.news.count : FreshtabViewUX.MinNewsCellsCount
+        return FreshtabViewController.isNewsExpanded ? self.news.count : FreshtabViewUX.MinNewsCellsCount
 	}
 	
 	func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {


	func restoreToInitialState() {
        if !isForgetMode {
            isNewsExpanded = false
            self.newsTableView?.reloadData()
        }
	}

	static let ForgetModeTextColor = UIColor(rgb: 0x999999)
	static let ForgetModeOffset = 50.0

	static let NewsViewMinHeight: CGFloat = 26.0
	static let NewsCellHeight: CGFloat = 68.0
	static let MinNewsCellsCount = 2
    static let topOffset: CGFloat = 10.0
