Move writing of results from the app navigating to the background to occurring after every submission by the user.  Move the function to write those results to the data controller.