ViewFlipper and SharedPreferences Activity

Merging code which creates ViewFlipper and SharedPreferences Activity