Implemented selection of items.
//TODO perform deletion