added checkdatabase method
set background color to light gray