fixed issue where phone crashed when search button was pressed with no items in list