Fixed crash when timeToBlink > total time

Added check, if time to blink is higher than total minutes.