I found the answer, the problem is that I need to update the date and the numberfield to 2 since 1 is used in the code.
ith
(
{wRef:LookUp(ReferenceList,Title=Dropdown.Selected.Value)},
If
(wRef.DateField=Today(),
Set(VarSequence,wRef.NumberField);Patch(ReferenceList,{ID:wRef.ID},{NumberField:wRef.NumberField+1}),
Set(VarSequence,1);Set(VarReference,wRef.Title);Patch(ReferenceList,{ID: wRef.ID}, ({NumberField: 2}),({DateField: Today()}))
)
);