Issue #7: I implemented some features for the preferences