Focus and Flash mode managment upgraded to work in both camera
interfaces