Fixed an issue found by Rado - clicking count up and count down consecutively leads to unexpected results (the reason was that the previous intervals were not cleared)