Change notification code to use notification.compact library
Add message type to sent messages list view