add open preferences menuitem in toolbar button