Fixed the bug.(When the file opened by new tab, the last opened tab title is overwritten by new file name.)