is for not blocking the UI thread with SIM import giving the opportunity to the browser to refresh the UI. If we do not add this the consequence is that the 'Import SIM' button remains in the active state, leading to a bad UX. You can remove the setTimeout(0) and feel the difference.