Added additional onpage check for license validity when license tab is loaded