Buy a better flashlight mount. Here's one that will stay where you put it and has the ability to be swiveled 360 degrees. I use three of these to mount things other than flashlights on my recumbent trike as well as hold an LED flashlight. You can buy it for a buck from an overseas seller or pay $4 for the exact same mount shipped from California.
New 360 Degree Bicycle LED Flashlight Mount Holder For Bicycle Torch Clip Clamp | eBay $1 postpaid with about a 14 -17 day delivery time to your mailbox.
New 360° Swivel Bicycle Bike Mount Holder Clip Clamp for Led Flashlight Torch | eBay
$4 for 6 day delivery via US mail