Save record by SharedPreferrences