Fixed null pointer exception in PictureToTextActivity