I correctly changed create task code so that it refreshes collection of todo tasks.