Implemented timer settings.
Implemented timer function.