Execute code when a launchpad button is pressed