Added support for handling a click on a group item.