How to handle multiple processes in ionic?

Hey All,

I am building an ionic app which supports Background Sync so that user can work inside the app simultaneously.
By Background Sync, i mean as soon the app gets the task list, it stores it in the DB, and refreshes the list page so that user can go to a particular task and make a Time entry. Now, While the user is making a Time entry inside a task, more data is being saved in the DB by Background Sync.
Now, the issue is when the Background Sync is in progress and I am making a Time entry inside a Task, it takes some time to save the data inside the DB and refresh the Time List below.

Can anyone help me understand Why this issue is Occurring in Ionic and How can I resolve this ?

How did you implement this “Background Sync”? Normally any database or storage interactions should be instant.