We should remove the idle observer and then call to `scanForHomescreens` directly in the `onidle` function.