[[ RefactorSyntax ]] Ensure button updates properly when its text is set