added onItemClick to options