You're probably hitting the function button for the display in your speedometer. Holding it down allows you to change so I suspect it's channging every time you ride. Try rotating your clutch lever a little so you have to reach a bit to get to the button.
Retired USAF, IYAAYAS!
2008 V-Star 1100 Custom Bobber project
2011 Crimson XR with Forged Highway Bars / Hard Bags / Passenger Backrest, Ness parts including Smooth Layback Plate Frame/Mount / Rad 3 Mirror / deep cut grips / drivers floorboards /shifter peg / brake peg / passenger pegs. Witchdoctor black rack, Lloydz filter / timing wheel / VFC III, 7Jurock windshield, Drag Specialties seat.