implementacao das tasks - persiste add e delete