select/deselect working for single item view