show proper time spent string on admin console
refactor time spent string helper