Truncate long task titles for list view