I'm not seeing how the change is functionally different.  It seems both before this change and after, if pickType is not jpeg or png the pickType will become jpeg, either explicitly in the existing code, or by default with this change. 

Is there an advantage to setting pickType to null as opposed to 'jpeg'? If this code knows the default type is jpeg, why not explicitly set it to jpeg?