Use onclicked with textswitch
Clear search if clicked from logo