added search text filter and adding attributes to selected list