Implement the message flashing example