Adding tab history