Finish changing state without modifying url.