Changed browseButton to selectButton acc. to other variables.