Tag Selected: function decoration