Public methods to set timer