Make generation of app async