Assigning classes for filter list