fix to search widget bugs

1. if reopened with same search text, highlighting wasnt switched on
2. cursor was moved if reopened with same text, not needed