Fix Add item functionality