Added a simple function to retrieve a value of a setting stored in the database