Finished implementation of task saving