use keychain for saving the preferences
first try on reading the values from keychain instead of system settings