How to cancel edit changes when I click back button in native application

Hi Team, In my current native project, there are some form fields after I have entered the fields there is a summary page to show entered details. There I can edit the entered form fields. After edit changes if I click back, the changes should not reflect in the summary page. How to achieve this in mendix native application.
1 answers

Make sure you do not commit the data when changing then in the summary on the OK button commit the changes and on the back button use a roll back activity to get to the previous state for the object.