Fixed editing of the items.