The transaction can only be changed once the donation has been downloaded and imported into a gift batch.

Once the donation has been downloaded and imported into a gift batch:
 1. From Batch, open the appropriate gift batch
2. On the data entry screen, locate the appropriate gift and manually change the fund to the correct fund
3. Commit the batch