Fixing event bindings on todos