updateFlagFromToggleUI
support both png and jpg