WIP: Rewrite algorithm of setting detail pills
WIP: Rewrite algorithm of setting detail pills

Todo:
* Performance improvements. Algorithm is slow. Maybe speed up by fetching all rows once and setting tabs as necessary.
* Some pills with empty titles when filtering
* updateDetailPills called twice (redundant), when selecting checkbox using its label

groupon/odo,groupon/odo