configure statusbar