Save instance state in android compound component 

From http://www.charlesharley.com/2012/programming/views-saving-instance-state-in-android/