Can now set priority while adding a new item.