bug fix on valuesButton & functionsButton

removed console.log statement from button clicks
fixed minor issue with boolean logic