add a property to allow user to tap selected index