change metric drop down list id
1. add check for empty object
2. re-implement getSelectedItemFromMetricDropDownList to support 3 metric drop down list