In theory, you just need to make sure there is not a /Applications/xLights.app and the app store should present the option to download again. I would just try doing an "rm -rf /Applications/xLights.app", then reboot, then try again. (reboot shouldn't be needed, but doesn't hurt)