         let tag = textField.tag
         
         if textField != categoryInputTextField || textField != subCategoryInputTextField{
+            if tag == 0{
+                textField.text = brandSelected
+            }
+            
             if let stringValue = textField.text{
                 self.setValueForTaggedCell(tag: tag, value: stringValue)
             }

    var categorySelected: String! = String()
    var subCategorySelected: String! = String()
    var cellBrandPickerView = UIPickerView()
    var cellDatePicker = UIDatePicker()
    var cellYesNoPicker = UIPickerView()
    @IBOutlet var pictureForSelectedItemImage: UIImageView!
    //CreationViewController Item to be created and modified to be saved
    var viewItem: Item! = Item()

        }
    }
    func textFieldShouldBeginEditing(textField: UITextField) -> Bool{
//        let pointInTable:CGPoint = textField.superview!.convertPoint(textField.frame.origin, toView: tableView)
//        var contentOffset:CGPoint = tableView.contentOffset
//        contentOffset.y  = pointInTable.y
//        if let accessoryView = textField.inputAccessoryView {
//            contentOffset.y -= accessoryView.frame.size.height
//        }
//        tableView.contentOffset = contentOffset
//        return true
//        
                textField.isFirstResponder()
                return true
        
    }// return NO to disallow editing.
    func textFieldDidBeginEditing(textField: UITextField){
