Adding loop and loopInteval options

This PR adds the functionality requested in the issue #5.
It allows two more parameters, `loop` and `loopInterval` to restart the timer when time is up and to set the interval before the timer restarts.