Changing staus bar style, code cleaning