Don't run status bar configuration if statusbar is not defined

i.e. Android