debugged the undo of adding tasks. closes #109