refactor helper for highlight of exceeded logged hours