This function for replacing a button pointer in button groups is needed by the block update from old code, so it cannot be removed like its layout equivalent.
This function for replacing a button pointer in button groups is needed by the block update from old code, so it cannot be removed like its layout equivalent.