getConfig and restoreSettings method updated