able to detect whether there was an alert activated
and display the status icon and text accordingly