Push state function.