added a selection block to add a action when cell is selected.