changed alarms to display messages from backend properly