reset the icon when refresh or close the tab