implemented a working picker which works like a keyboard