Added synchronization for loading and saving ContactManager data