By listenning to the changes in current perspective hides and restores toolbar and menu contrinbution when current perspective changed