Corrected sort's border color when changing display mode

The border color didn't change when using the global item "switch to detailled/simplified display", only when double-clicking on one sort, it's fixed now.