Fixed application class replacement for APKs without an application class
Signature preservation hack