Sample project using ViewPager and PreferencesActivity