Fixes bug in updating project after adding a task.

Fixes #54