change Manifest.xml package name, fix type in Register Activity