qtui: fix renaming tabs