Fix issue with non-static method calls

There is no need to use the static method for getting the license key since the class is already initiated. Also it throws Strict standard issues.