Updated creation of MessageEffects in stock level app.