protected function redirectToReferrerModule()
    {
        $wasFromQueue = $this->request->hasArgument('fromQueue');
        if (!$wasFromQueue) {
            $this->redirect('index');
            return;
        }

        /* @var BackendUriBuilder $backendUriBuilder */
        $backendUriBuilder = GeneralUtility::makeInstance(BackendUriBuilder::class);

        $parameters =  ['id' => $this->selectedPageUID];
        $referringUri = $backendUriBuilder->buildUriFromRoute('searchbackend_SolrIndexqueue', $parameters);

        $this->redirectToUri($referringUri);
    }