added option for selecting photos from the ipad popover and language
setter for the simulator