enable Edit styles menu item only if geoext is set as preview library