added logic to properly show/hide phrases when activating/deactivating tags