Save changes to db whenever temp file is written to

When editing the description of a task, update task.description whenever the temporary file is saved. This is safer in case Yokadi is abruptly killed.