ricerca button e refactor