Add saving and loading capabilities to PhaseDetector settings