Used for adding and saving score.