Changing state (finished/unfinished) for all subtask of task when updating parent state