Update selectable title when query visibility is changed