Add selected index changed event implementation