yeah thats what i meant. Since your trip meter is digital it needs to recieve power when the car is turned off, same with the clock. If this power is not supplied to it whn the car is turned off it will reset.
Its the same if you disconnect your battery, the clock resets, the trip meter rests, and if you have an aftermarket head unit all the radio stations reset.