Did you do a state return? State is a separate charge and currently is the same price as federal Deluxe so it only looks like you got charged twice.
And I see you are having the fees deducted from your refund. There will also be another Extra $40 Refund Processing Service charge (45 in California) for that. So it will be 3 times the 39.99.