diff --git a/shipping/uc_quote/uc_quote.module b/shipping/uc_quote/uc_quote.module
index 5a5013e..d048645 100644
--- a/shipping/uc_quote/uc_quote.module
+++ b/shipping/uc_quote/uc_quote.module
@@ -753,7 +753,7 @@ function uc_order_pane_quotes($op, $order, &$form = NULL, &$form_state = NULL) {
           'callback' => 'uc_quote_order_returned_rates',
           'effect' => 'slide',
           'progress' => array(
-            'type' => 'bar',
+            'type' => 'throbber',
             'message' => t('Receiving quotes...'),
           ),
         ),
@@ -771,6 +771,14 @@ function uc_order_pane_quotes($op, $order, &$form = NULL, &$form_state = NULL) {
           '#type' => 'submit',
           '#value' => t('Apply to order'),
           '#submit' => array('uc_quote_apply_quote_to_order'),
+          '#ajax' => array(
+            'callback' => 'uc_quote_order_update_rates',
+            'effect' => 'fade',
+            'progress' => array(
+        			'type' => 'throbber',
+              'message' => t('Applying quotes...'),
+            ),
+          ),
         );
       }
 
@@ -796,7 +804,7 @@ function uc_quote_order_pane_quotes_submit($form, &$form_state) {
  */
 function uc_quote_apply_quote_to_order($form, &$form_state) {
   if (isset($form_state['values']['quotes']['quote_option'])) {
-    if ($order = $form_state['build_info']['args'][0]) {
+    if ($order = $form_state['order']) {
       $quote_option = explode('---', $form_state['values']['quotes']['quote_option']);
       $order->quote['method'] = $quote_option[0];
       $order->quote['accessorials'] = $quote_option[1];
@@ -814,6 +822,11 @@ function uc_quote_apply_quote_to_order($form, &$form_state) {
           $label,
           $order->quote['rate']
         );
+        $form_state['storage']['shipping'] = array(
+          'lid' => $lid,
+          'title' => $label,
+          'amount' => $order->quote['rate'],
+        );
       }
       else {
         uc_order_line_item_add($order->order_id, 'shipping',
@@ -821,11 +834,17 @@ function uc_quote_apply_quote_to_order($form, &$form_state) {
           $order->quote['rate']
         );
       }
+      
+      // Save selected shipping
+      uc_quote_uc_order('save', $order, '');
 
       // Update line items.
       $order->line_items = uc_order_load_line_items($order);
+      $form_state['order'] = $order;
     }
   }
+  $form_state['rebuild'] = TRUE;
+  $form_state['quote_requested'] = FALSE;
 }
 
 /**
@@ -969,6 +988,24 @@ function uc_quote_order_returned_rates($form, $form_state) {
 }
 
 /**
+* AJAX callback for applying shipping rates.
+*/
+function uc_quote_order_update_rates($form, $form_state) {
+  // Set values to order shipping line item
+  if(isset($form_state['storage']['shipping'])) {
+    $form['line_items'][$form_state['storage']['shipping']['lid']]['title']['#value'] = $form_state['storage']['shipping']['title'];
+    $form['line_items'][$form_state['storage']['shipping']['lid']]['amount']['#value'] = $form_state['storage']['shipping']['amount'];
+  }
+  $commands[] = ajax_command_replace('#order-line-items', drupal_render($form['line_items']));
+
+  // Reset shipping form
+  $commands[] = ajax_command_replace('#quote', drupal_render($form['quotes']['quotes']));
+  $commands[] = ajax_command_prepend('#quote', theme('status_messages'));
+  
+  return array('#type' => 'ajax', '#commands' => $commands);
+}
+
+/**
  * Returns an array of available shipping quote methods.
  *
  * @param $all
