Fixed settings not having method property

I have added this check before using optionsObject.method because the way I use it I have not set a method that will be called automatically. I manually call the method I need after I have dealt with the data.