Fixing typo in buyFunctionToggle

Previously wouldn't properly reverse a -= function