Implemented reopening of tabs