fix bug: set status bar overlay from custom to non-custom mode

change the variable naming style
fix a bug from custom mode to original mode