title: Code works in debugging mode
body: <p>I am trying to upload some files and adding it to the drop down using one button.
  It uploads the files and add it to the drop down when in debugging ( by adding breakpoints )but does not add it to the drop down otherwise.
  Where am I going wrong.</p>