updating the status bar notification code structure.