Can't seem to refresh style of <a data-role="button">

Can't seem to refresh style of <a data-role="button">

Hi there, 

I open the datepicker with a <a data-rel="button"> and I change its text when a new date is selected. However, I can't seem to update the buttons style back to normal after I change its text.
  1. <a id="a_workout_date" href="#" data-role="button" data-mini="true" >2013-01-01</a>
  1. $("#input_workout_date").change(function() {
  2.       $("#a_workout_date").text($(this).val());
  3.        $("#a_workout_date").trigger("create");
  4.        $("#a_workout_date").button();
  5.        $("#a_workout_date").button("refresh");
  6. });

Tried all these, but can't seem to get it to work :/