Restrict camera flashlight