Adjust the new taskmanager button state to be properly set depending on the "maximum" priority for the windows managed by the button.