Avoid repetition in TodoItem component by wrapping rootCursor and providing generic update method.
Added undo, reverts TODOs vector to previous state