added functionality that will facilitate the transition from using a preference manager to a database