Put preference key names in an XML resource file as <string>s.

Instead of hard-coding them in the code. This gives more of an overview in one
place for the whole app, and seems to be the normal way to do it, as
suggested by the official code examples:
http://developer.android.com/training/basics/data-storage/shared-preferences.html