Changed the function name

to this:

trial_membership_after_change_membership_level

Because it is called globally in another plugin