Add theme class name in init to prevent delay for embedded apps (#14517)

Change-Id: I73bf41ca493f76d0a4caa82464ef3c63b3d7f055