Finish message functionality