I selected Credit for foreign tax paid, but Form 1099-DIV Worksheet is still flagged with " Not Done". What is wrong?

I selected  Credit for an entry of foreign tax paid in Personal => Deductions & Credits. When I change from Credit to Deduction in  checkbox A for "check to deduct foreign taxes on Schedule A" in Box 7 of Form 1099-DIV Worksheet , this error disappears, but that is not what I want. When I uncheck checkbox A, the error flag comes back.

Although the error flag is shown, the calculation seems correct.