Android demo app that saves and restores an activity's state