Fixed setting and unsetting primary and secondary icon in text box. Secondary icon ("clear icon") in search box will now only be shown if any search is active (but the search is not performed currently) otherwise the secondary icon is hidden.