Created a way to pass group name from list item to click handler