search function added to fx ui