Abstract class for jalmus preferences to avoid code duplication