             }
             vc.delegate = self
             self.navigationController?.pushViewController(vc, animated: true)
-        case Item.UnpublishDate.rawValue:
+        case Item.UnpublishDate:
             let storyboard: UIStoryboard = UIStoryboard(name: "DatePicker", bundle: nil)
             let vc = storyboard.instantiateInitialViewController() as! DatePickerViewController
             if let date = unpublishDate {

            c.backgroundColor = Color.bg
            cell = c
            
        case Item.DeleteButton.rawValue:
            var c = tableView.dequeueReusableCellWithIdentifier("ButtonTableViewCell", forIndexPath: indexPath) as! ButtonTableViewCell
            var titleText: String
            if object is Entry {

        separatorLineView.backgroundColor = Color.separatorLine
        
        // Configure the cell...
        var item = items[indexPath.row]
        switch item {
        case Item.Tags:
            var c = tableView.dequeueReusableCellWithIdentifier("BasicCell", forIndexPath: indexPath) as! UITableViewCell
            c.textLabel?.text = NSLocalizedString("Tags", comment: "Tags")
            c.detailTextLabel?.text = tagObject.text
