Add some function to the AddAgenda fragment.