Adding a settable duration for the lcd value animation.