How to create a button to switch to a particular lister style?

These are the commands:

Prefs STYLE=Explorer
Prefs STYLE="Dual Vertical"

(If needed: How to use buttons and scripts from this forum )