Updates push notifications example to handle toast notifications