Finally manage to delete the tasks and implemented the same functionality with the kids