title: Issue with dynamically changing data-theme in split button listview
body: <p>I am trying to follow the outline <a href="https://stackoverflow.com/q/8554853/194742">in this thread</a> to dynamically change the color swatch of a split button list view by changing the data-theme. Interestingly, the scheme works when I put in an alert statement in the javascript, but when I take the alert out, this doesn't work well.</p>
  
  <p>Here is the sample: </p>
  
  <ul>
  <li>With alert: <a href="http://jsbin.com/ifodij/4/" rel="nofollow noreferrer">http://jsbin.com/ifodij/4/</a> </li>
  <li>Without alert: <a href="http://jsbin.com/ifodij/3/" rel="nofollow noreferrer">http://jsbin.com/ifodij/3/</a> (try toggling on two buttons before trying to toggle off)</li>
  </ul>
  
  <p>Any suggestion as to why this is happening and what I might be missing? Thanks.</p>