getting the selected index for beer list worked out for detail