make module to attach custom find-again function

* fix common functions that are needed for a custom find-again function, not
  creating them each time a new findbar is initialized.
enclose command interval watcher in where it is used