The old Notification API is removed and now replaced by the new Notification API. Take the changes into components