preparing taskitem for the tasks model