Refactoring. UserDefaults category.