Partly 2 of the app widget tutorial, we add a configuration exercise to our app, which begins when our widget…