using typedef defined blocks in TodoItem.h protocol for event callbacks