working preferences
writing week record to db when app started