Added changes to Add item controller.