Tried to fix bug on resume

This commit should fix a bug that was encountered when the app was
resumed. The flash light "handler" was no longer able to switch the
light on.