Add behaviors of status bar