ensurePreferences
store recording frequency in seconds