[[ RefactorSyntax ]] Fix indices when putting text into a button