using dom/set-properties for uniform code
using dom on draw-todo-count, draw-todo-clear and redraw-status-ui