Fixed reloading data when deleting a task