initPreferences in DisplayActivity