There is already an event for what you want to be doing. You shouldn't have to be naming anything.
open the skin editor
select the button you want the event tied to
click assign
navigate to skin, then, music, then database refresh
double click "database refresh" to assign it
That is the event assigned to the default xlobby skin for refreshing the database. Unless you are using a category named something other than music, it should work without modification. If you are using a different name for your category for some reason, then expand the "database refresh" part and click on "refresh" and input the correct category name. Make sure you are using the category name, and that that category is linked to your music database.