some advance in saveFromUi into userDefaults