Improved redraw  config change and hideUi