fix(tasks): improve task editing

SD-845
fix(tasks): tweak performance

and name some func to make profiling easier

SD-867