Fixed: the bug of the process that automatic select the tab that has not been purged after the user ran purge tabs.
fix the minor bugs
The async process with using Promise. (Issues #41)
However, the bug is existed yet.