when you use deferUpdate(), you can't edit your interaction because it marks the button as if you clicked it. What you can try to do is
i.update({ components: [new ActionRowBuilder().addComponents(startButton, endButton)] })
instead of using deferUpdate() then editReply().