Add filtering information to the data table

Add the information if a line of the table is filtered or not. This info is stored in a CSS class .selected or .deselected. This allows us to display filtered data on the table as well.