Fix crash when saving page after restoring activity from parcel.

Bug: 66716
Change-Id: I0914136a709612325a7746e462f90b87d3f1de5f