saves info about last opened tab