Added NWidget setVisibility functionality