public static ArithmeticParameter getArithmeticBySelection(int selection) {
        for (ArithmeticParameter parameter : ArithmeticParameter.values()) {
            if (parameter.getSelection() == selection)
                return parameter;
        }
        return null;
    }