Deductions & credits

I thought the State Tax deduction rule was: if you deduct the State Tax this year (get a benefit) but then get a refund of it next year, then you are taxed on the State Refund (paying back the benefit).  

 

I'm getting confused because it's an Estimated Payment and I'm hoping I get most of it back next year.