db instace moved to ActivityExtended