The problem of restoring the state of the datatable.

In the example https://snippet.webix.com/bc9yapc0, you can see that the url function is executed twice during state restoration. The first time with the saved sorting rule, the second time with the filter conditions.
Sequencing:

  1. Sort by Title column.
  2. Filter by the Title column.
  3. Press the button “Save state”.
  4. Configure new sorting and filtering rules.
  5. Press the button “Restore state”.
    Result: the function will be executed twice. This is noticeable by the blinking of the table and in the browser console.

Can a restore operation be performed in a single request to the server?
Or freeze the grid drawing until the state is fully restored?