Fix bug dynamic tootlbar plugin