Moved all preference keys to XML and modified SHaredPreferencesHelper to use the resource IDs instead