added selected label to callback function