updating the buttons for the filepicker view