put db status in text widget