Format the status bar