works:
1.improve the settings view to add more advanced color analysis options
2.improve the preference title/summary in settings view
works:
1. move the enum PaletteDataType from PaletteDataHelper to its own file
2. hook up the preferences in settings view with the parameters used in
analaysis in PaletteDataHelper
works:
1. move the enum PaletteItemOption to its own file
2. refactor on PaletteItemOption handling logic in its dialog fragment
to separate it from the resource strings