Check if tab is in focus before sending a notification + name in notification