Changed image chooser helper method'