Fixed chosen multiselect and cleaned up the pickDefault code