Save the state for one or more apps on the url query string