toggle buttons added to panels