Change Jerror:: to app->enqueueMessage