Handling the status bar