Implementing completely new logic for timer working for both milliseconds, seconds and minutes.