Fix remaining time display

Using modulus to display correct time