Added itemSelected callback