Replace buttonMarkup to toggleClass.