more easy way to set the status bar style
back up for new methdo