Fix thread watcher/expansion/hiding buttons after an index refresh.