added selection change listener too