Cache $todoList and improve readability
Merge pull request #935 from pgilad/patch-2

Cache $todoList and improve readability