Save total score in DB