Fixing checkbox option for flashlight in apm