fixed adding agenda items

now the length displays correctly and the remove buttons work