from what it seems the vrious modes in your flashlight (a generic chinese design) are controled by a driver circuit board and not the switch assembly.
Depnding of the driver mak/dimensions one could either bypass the mode generating chip or change the driver altogether