Bugfix/rtdone

When setting a task done in note, the view in todo was updated but not the model, so we had to click twice on the done button to set it undone. This PR fix this.