Removed pass by reference on TaskDao save function

It wasn't being used as pass by reference anywhere in the code.
Closes #783