+ Remove tab from history list when clicked.
+ Refactoring