Use AppSettings correctly