The vibrations are causing the problems with with your Hop-Up, there are a couple of ways to correct this,
The easiest being tightening the screw on the adjustment lever, or placing a small rubber washer under the screw.
Another is using a small amount of Shoe Glue, just a drop, shoe glue when it dries stays pliable, and can be removed later with just a fingernail. When you have your Hop-Up adjusted to just the way you want it, apply a Drop of Shoe Glue to the Adjustment lever, let it dry, and the gun should hold its setting for about...... Until you Remove the Glue.