Tweaks for state saving
State saving for RGB mode in image widget