Cam flash based on time

**UNSTABLE VERSION**
It crashes after some time because of mixpanel integration.