fix the state of `show status` and `show toolbar`