Make the stepsToChoosePhotoInLibrary work in both ios6 and ios7