added preference to hide/show text