Added isItemSelected() for result display