Prevent NPE on processResiultFromGallery when intent comes null

close #22