When the program runs, the listView updates the current selected line