Okay, let's move this code inline rather than in the atom as it's dependant on being in the home app. Ultimately we will move this into a homescreen app object.