"If" does not update my collection

@digitalzemb it probably saved before executing the onClick function.
You should disconnect this button from the dataset and submit using code.