Fix new address not saved issue

Save the new address to wallet immediately after issue the command
"getnewaddress" and "add_send_address" which could prevent not saving
the new address to wallet if the client aborted abnornally(not via
"quit" command)