added selection listening to listTab