Danielle Massey had been using an app called Cooking Madness: A Chef’s Game for 26 minutes while her baby son was alone