fixed score saving,added settings persistance