Fixing improper embedIntents method on the application representation