Fixes find button function - now returns a value.