Save datastore on every change to avoid possible data loss.