CameraController.setCameraIndex(newMode);
ApplicationScreen.instance.switchingMode(false);
ApplicationScreen.instance.resumeMain();
RotateImageView but = (RotateImageView) topMenuButtons.get(MODE_CAM);
int icon_id = ICONS_CAMS.get(mCameraMode);
<BUG>but.setImageDrawable(ApplicationScreen.getAppResources().getDrawable(icon_id));
initSettingsMenu(false);</BUG>
hideSecondaryMenus();
<BUG>unselectPrimaryTopMenuButtons(-1);
}</BUG>
}

CameraController.setCameraIndex(newMode);
ApplicationScreen.instance.switchingMode(false);
ApplicationScreen.instance.resumeMain();
RotateImageView but = (RotateImageView) topMenuButtons.get(MODE_CAM);
int icon_id = ICONS_CAMS.get(mCameraMode);
but.setImageDrawable(ApplicationScreen.getAppResources().getDrawable(icon_id));
if (rebuildGUI)
{
initSettingsMenu(false);
hideSecondaryMenus();
unselectPrimaryTopMenuButtons(-1);
