refactor code to avoid code duplication and add small clock icon for
the clock timezone nice feature