how toaster sensor works