Creatomg time spent table in popup and adding styles