updated Android manifest and activity tree creation in MainActivity