Implement revrsed restrictions

If min > max clock has 2 valid ranges '0:00..max' and 'min..24:00'
Updated isValidHour and isValidMinute, changed how restrict works