[mr2661] Calendar: use DB transaction in remapping
* use list instead of unordered_map, because umap don't guarantees sequence of inserting
* tested, worked fine