Model detection and variable selection for mode varying coefficient model