Firstly, I understood your question, but couldnt gethow you want to achieve your requirement. But whatever you are using this will be hwlpful. I would suggest you to use something like this
<select id="dLabel">
<option value="CloseFriends">Close Friends</option>
<option value="Notification">Notification</option>
//....other options as you used in your code
</select>
Add a listener to that dropdown and code accordingly based on if condition.
$('#dLabel').bind('change', function(e,p) { // bind event listener on that component
var dat=$(this).val(); //get the value of the selected option
if(val=='CloseFriends'){
//action
}
//similarly your other conditions
});