You're only updating the name displayed in the ListBox. You need to call
File.Move()[
^] in order to rename the file.
I recommend renaming the file(s) and then simply refreshing the ListBox's contents, since you can't assume the rename will always work. Also, be sure to catch exceptions and display an appropriate error to the user.