When you switch between weapons, It will remember the gadget state it was on and it will automatically switch to its last state. (Laser or flashlight) It works for EVERY weapons.
Update 1.00Just in case it gets outdated