diff --git a/docroot/modules/custom/ymca_retention/js/my-progress.js b/docroot/modules/custom/ymca_retention/js/my-progress.js
index <HASH>..<HASH> 100644
--- a/docroot/modules/custom/ymca_retention/js/my-progress.js
+++ b/docroot/modules/custom/ymca_retention/js/my-progress.js
@@ -173,6 +173,9 @@
 
       self.todayInsight = function () {
         $('a[href$="#tab_2"]').each(function() {
+          if ($(this).attr('data-toggle') == 'tab') {
+            $(this).click();
+          }
         });
       }
 
diff --git a/docroot/modules/custom/ymca_retention/src/Controller/MemberController.php b/docroot/modules/custom/ymca_retention/src/Controller/MemberController.php
index <HASH>..<HASH> 100644
--- a/docroot/modules/custom/ymca_retention/src/Controller/MemberController.php
+++ b/docroot/modules/custom/ymca_retention/src/Controller/MemberController.php
@@ -77,6 +77,7 @@ class MemberController extends ControllerBase {
           'member' => $member_id,
           'bonus_code' => $post['bonus_code'],
         ]);
+      $bonus->save();
       $bonus_values[$post['timestamp']] = $post['bonus_code'];
     }
[YMCA-<I>] read tip link open "ENTER PRIZE DRAWING", click on "redeem bonus" add new bonus to drupal member