You wouldn't pass an id in set_task, that is supposed to a number such as 0 or 1 or something that is a unique id to the task, Also, not sure if u can pass an id in the model_set1 function, idk :/
You can pass id as the task id. In fact, the way that model_set1() is set up you have to pass id as the task id.