 		dashboardViewController.popToRootViewControllerAnimated(false)
 		(dashboardViewController.topViewController as! DashboardViewController).gotoBookmark(selectedId)
 
+		cachedSelectedIndex = 0
 		selectedIndex = 0
 	}
 }

		guard
			let navigationController = selectedViewController as? UINavigationController,
			let tableViewController = navigationController.viewControllers.last as? UITableViewController
		else {
			return
		}

		let tableView = tableViewController.tableView

		tableView.setContentOffset(CGPoint(x: 0, y: -tableView.contentInset.top), animated: true)
	}
}


class MainViewController: UITabBarController {
	private var statusBarBackgroundView: UIView!
	private var observer: AnyObject!
	private var cachedSelectedIndex: Int = 0

	override func viewDidLoad() {
		super.viewDidLoad()
