Synchronize status

Synchronize status between the statusbar and status window.