Fixing an issue where the wrong message was displayed in the SMS Dialog