Replace first state to prevent a second pageview without any user interaction.