add serialize listMap to file so persistent store the selected items.