DB and UI Drawer merged code