Add option to change type for editing items.