Text editing for button element