Fixed bug where Referal Save button was not saving to database