move show toolbar and show statusbar from preference to view menu
fix the state of `show status` and `show toolbar`