clears friend search box after search
refactoring not needed code