Trying to enable trainings comparison, but event handler for li.click() doesn't get reattached.