             }
             
             if showingItem.respondsToSelector("setRightBarButtonItem:") {
-                showingItem.setRightBarButtonItem(self.logoutBarButtonVariable, animated: false)
+                showingItem.setRightBarButtonItem(logoutBarButtonVariable, animated: false)
             }
             
             if showingItem.respondsToSelector("setBackBarButtonItem:") {

    // MARK: - TableViewDelegate
    
    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
        self.performSegueWithIdentifier("PushFolders", sender: self)
    }
    
    // MARK: - Navigation
    
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        if segue.identifier == "PushFolders" {
            let mailbox: POSMailbox = self.dataSource?.managedObjectAtIndexPath(self.tableView.indexPathForSelectedRow()!) as POSMailbox
            let folderViewController: POSFoldersViewController = segue.destinationViewController as POSFoldersViewController
            folderViewController.selectedMailBoxDigipostAdress = mailbox.digipostAddress
            POSModelManager.sharedManager().selectedMailboxDigipostAddress = mailbox.digipostAddress

    }
    
    @IBAction func logoutButtonTapped(sender: UIButton) {
        logoutUser()
    }
    
    // MARK: - Logout
