Fixed bug with setting and reading memory for app manifest.