highlight tag if selected