Preference was tough, Used lots of constants from xml