works:
1. Add new MediaUtils class
2. Add new helper functions in BitmapUtils and FileUtils classes
3. Fix the orientation issue for the photo taken from the camera
4. Tweak the inside capture view fragment and current palette data
handling logic in main activity to make them easier to maintain in the
future