fixing preference keys to match preferences.xml