GUI working for searching for single def