Use private method to get value label text, taking out copy-pasted code.