add callback call that was missing to the deleteMessage function