in case the history state can't be found create a new one
limit the appstate history to 10 states (like the browser)
regenerated all dist files