Parametrize button to switch to legacy editor