public void setBackground(Path img) throws IOException {
        if (FileUtil.control(img)) {
            FileUtil.copyFile(img, this.imageDir.resolve(Constants.SKIN_BG_NAME), false);
            this.backgroundImgChanged = true;
            this.imgBackground = this.imageDir.resolve(Constants.SKIN_BG_NAME);

        } else {
            this.imgBackground = null;
            FileUtil.deleteFile(this.imageDir.resolve(Constants.SKIN_BG_NAME));
            this.backgroundImgChanged = false;
        }

        somethingChanged();
    }