Fix async issue with widget UUID generation step