accessing the listview and progressbar on java