Implements saveInstanceState - preserve activity state across rotations.