In NerdLauncherFragment onCreate extract method getResolveInfoArrayAdapter.