Change sendResult to sendPluginResult.