Made UI update list after deleting files