Since some tags in AndroidManifest.xml may dont have 'name' attribute, we add conditionals
Minor refactor, replaced literal strings with variables for more clear, no logic change
Added utf-8 character support for AndroidManifest.xml