Replace buttons not enables if opt file selected