add open preferences menuitem in toolbar button, fix #5