Better way to create an inflater.
Change the format of updateUnsentMessage method and fix the id getter of getUnsentMessages.