Move id list string conversion to respective functions. Move refresh to a button.