wip
Rename file
Fix selecting reference from search results