Fix name of aws_sns token.
Fix message polling code to use interrupts when the message center goes into foreground. This is to ensure that the tighter foreground interval is adopted immediately when the message center goes into the foreground.