fixes logic with show/hide, updates button for terminology