Insert the following code and make sure to save the changes made:
add_action (‘admin_notices’, function () {
$ this-> activate_license_notice ();
}, fifteen );
//add_action( ‘admin_notices’, function () {
// $this->activate_license_notice();
//}, 15 );