Jupyter tries invoking a kernel that doesn't exist

I recently changed from a miniconda installation to a mamba installation. The installation seems to work, however, when I attempt to create a new Jupyter notebook after Jupyter starts, I encounter the error “Error Starting Kernel” followed by “[Errno 2] No such file or directory: ‘/data/miniconda/envs/jupyter/bin/python’”. Since I deleted the miniconda installation, this directory no longer exists. I am then offered a “Select Kernel” dialog box. The dialog lists “Start Preferred Kernel jupyter” and under “Start other kernel” Python 3 (ipykernel). If I choose the ipykernel option, the jupyter windows runs normally. Where is this “Start Preferred Kernel” stored as it is outdated.