replace button groups with rectangle