Web-UI: enbale the offline sync service; make MainView wait until the app is ready