implementation of the list view selection