setting up NSNotifications to update drawer, sorting messages by time