I would suggest to have this method call `selectWallpaper` and then we can call to this function in `panel.js`.