Added spinAround option and additional constrain while setting time.

I added option to constrain time input so it doesn't spin around while reaching day start(00:00) and day end(23:59). I didn't know what should it return if such constrain reached, so it replace time with old value.