Added code for the auto-generation of activity registrtion in the manifest.