Removing saved tab from localStorage if it is alone