These constants prevent the Magic Number anti-pattern, but I also think it's a good idea to name them something like "*_PREFERENCE" to make it very clear how they're used.