Add button click handler & set class name to item group