         setNavigationItemTitle()
         initPasswordsTableEntries(parent: nil)
         addNotificationObservers()
-
         generateSections(item: passwordsTableEntries)
+        tabBarController!.delegate = self
         tableView.delegate = self
         tableView.dataSource = self
         definesPresentationContext = true

    }
    
    func backAction(_ sender: Any?) {
        initPasswordsTableEntries(parent: parentPasswordEntity?.parent)
        reloadTableView(data: passwordsTableEntries)
    }

    var passwordEntity: PasswordEntity?
}

class PasswordsViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, UITabBarControllerDelegate {
    private var passwordsTableEntries: [PasswordsTableEntry] = []
    private var filteredPasswordsTableEntries: [PasswordsTableEntry] = []
    private var parentPasswordEntity: PasswordEntity? = nil
    
    private var tapTabBarTime: TimeInterval = 0

    var sections : [(index: Int, length :Int, title: String)] = Array()
    var searchActive : Bool = false
