Implemented solution provided by G. Benoffi for filling spinners
directly from database.