The selected collection changes automatically if that selected gets deleted