Added some functionality to display previous used tags.