fixed add task, added edit task