Improve camera flash checking code.

* Make the new check method better.
* Add another camera permission.
* Also follow code style for action strings.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>