Add Ajax when deleting task.