You can just void the transaction with the wrong customer. And make a copy of the transaction, and select the proper customer and finish the transaction.
Or click the “More” button, select “Customer Details”. And select the customer you want to change to.