added camera switch and flash toggle to camera