Removed more unneeded access of settings from database