Ensure proper operation buttons Add and Delete after sorting. Fixed bug in reading file