Fixed parsing of <application> type from manifest so that Application lifecycle will be handled correctly