Modified the 'advanced mode' toggle to be a bit more friendly when reloading the page