Fix restore page shown on orientation change