Refactoring
Added suppress stuff for completeness
Workaround for the bug that in LighDetectionBehaviour even though takeControl() returns true the action() method is not called.