setButtonSelected(flashModeButtons, mFlashMode);
ApplicationScreen.instance.setFlashModePref(newMode);
}
RotateImageView but = (RotateImageView) topMenuButtons.get(MODE_FLASH);
int icon_id = ICONS_FLASH.get(mFlashMode);
<BUG>but.setImageDrawable(ApplicationScreen.getAppResources().getDrawable(icon_id));
initSettingsMenu(false);</BUG>
hideSecondaryMenus();
<BUG>unselectPrimaryTopMenuButtons(-1);
ApplicationScreen.getPluginManager().sendMessage(ApplicationInterface.MSG_BROADCAST,</BUG>
ApplicationInterface.MSG_FLASH_CHANGED);

setButtonSelected(flashModeButtons, mFlashMode);
ApplicationScreen.instance.setFlashModePref(newMode);
}
RotateImageView but = (RotateImageView) topMenuButtons.get(MODE_FLASH);
int icon_id = ICONS_FLASH.get(mFlashMode);
but.setImageDrawable(ApplicationScreen.getAppResources().getDrawable(icon_id));
if (rebuildGUI)
{
initSettingsMenu(false);
hideSecondaryMenus();
unselectPrimaryTopMenuButtons(-1);
}
ApplicationScreen.getPluginManager().sendMessage(ApplicationInterface.MSG_BROADCAST,
