important changes, so that chosen panel also shows when the page is
reloaded