implementing show/hide advanced mode according to widget settings.