compute total workout time on main screen