Desktop Notification for custom doctype

im following this

it works only for the tab’s icon, but not for the desktop icon. Please help