Refactor cider-find-buffer