Add ajax for save task in line