public static void save(Skin skin) {
        if ((skin != null)) {
            if (!model.saveSkinToDefaultDirectory(skin)) {
                showProblemMessage("Main.save: Skin was not saved!");
            }
        } else {
            throw new InvalidParameterException();
        }
    }