Fixed some bugs:
- Comparator was not exactly as expected. Changed ArrayList type to Integer.
- Added OnConfigurationChanged handle properties. There is still one leak bug in HomeActivity with ProgressDialog.