Depending on your system model, you should be able to go into an application called Dell Audio or Waves MaxxAudioPro.  If you have Dell Audio, go to Advanced > Jack Information, then click on the audio jack icon.  That will allow you to reconfigure the jack without even having to disconnect and connect anything.  And that's also where you'll find the option to automatically display this popup when you connect something.  Under MaxxAudioPro, it doesn't look like you can reconfigure the jack "live" if you selected the completely wrong type of device, like Mic rather Speakers as opposed to just the wrong size speakers.  So for MaxxAudioPro, click the speaker icon in the upper-left corner, then click Advanced at the bottom to display the checkbox to display the popup icon when you connect an audio device.  Enable that, and then you should see the prompt when you disconnect and reconnect the device.
In my laptop Dell vostro 14 3000 The laptop is detectecting my Boya Mic as a Headphoes So and also when i Plug it out and after plug in it is saying that not pluuged in after i restart and then it is connected but connected as Headphones . Please solve this issue fast . 
Microphone is being detected as Headphone