Removed logging in buttongroup.