Moved the class RestaurantDBAdapter from the package utils to the package session. In the class Session, modified the method getPreferences to private