if a span is already present, the button is now called "change" and a new span replaced the old span