Adding logic to fire off event whenever a theme is selected

The event is done on ExtensionUtils, you will need to listen for theme
changed event on that object.

Like so:
    $(ExtensionUtils).on("Themes.themeChanged", function(event, param){
        console.log(param);
    });