Extract common behavior for system notifications