cyclic changing of buttons for FileManagerMessageBox