Hold state can fail after a while resulting in an inaccurate press times.

Because the millis() is a long and pressedHoldTime is an int, there was an inaccurate comparison and the calculation could result in weird behavior in determining the hold state.