getting title and subtitle of messages from the settings