fix merge conflict
check if delegate implements the as optional marked didTransitionToObject: method before calling it
reset selectedIndex whenever reassign arrangedObjects