added onlySelected checkbox to filterComponent