Improve a funtion, which is after double clicking mouse on a tab, the
current tab is whether to save or not. And add a function, which is
after text changing, the current tab text need to mark, but this
function doesn't finish.