Enable "look it up" button only after connection made to a database