In many cases the the designer toolbar settings do not represent the actual status of a selected element on the canvas.
For example. I dropped a Heading onto the canvas. The toolbar says the header is center aligned (inherited from a parent element). But the actual heading on the canvas is left aligned. If I now click on center align (which is already highlighted) it will center align.
This only happens with the inherited attributes.
Here's a screenshot of that situation.