Updated addApp to send correct types