Added loading of saved preferences from companion app