Simplify callbacks by pub/sub event whenever todos are updated.