         
         loadTab(0)
         tabSelector = drawTabSelector(0)
+        
         addDittoView.hidden = true
         
     }

        addDittoView.hidden = true
        numericKeys.hidden = true
        tableView.hidden = false
        
        loadTab(tab)
        tabTitleLabel.hidden = dittoStore.oneCategory() || recognizer.state == .Ended

        } else if addDittoView.hidden {
            loadAddDittoView()
            addDittoView.hidden = false
            tabSelector.hidden = true
        } else {
            addDittoView.hidden = true
            tabSelector.hidden = false
        }
    }
    
