 // MARK: Text field delegate
 extension ProductViewController: UITextFieldDelegate {
 	func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
+		//should only be allowed to use picker
 		if textField == categoryTextField {
 			return false
 		}
-		
+
 		guard textField == priceTextField else {
 			return true
 		}

					} else {
						date = nil
					}

					product.expirationDate = date

					product.category = categoryTextField.text ?? ProductCategory.active.rawValue

					//TODO: find out if this writes to realm twice, once here and once when we add it to the list
					realm?.add(product, update: true)

		}
	}

	func setupFormatters() {
		setupCurrencyFormatter()
		setupDateFormatter()
	}

	func setupCurrencyFormatter() {
