Did you hit something with it when you were running around with it yesterday at the comp? Or did you have this problem before that.
Like TheSpeedSkewber said, the batteries might be the problem. I don't have a gan timer, but my timer also randomly resets when it needs new batteries