fix for euclid example: forgot to en/disable factorial buttion