Code to deploy a flashlight using camera flash