Fixes pictures in cell view and populates destination and origin arrays in search view