Removed commented out lines
added a check if group name exists and changing
button text based on that