Implemented custom cell to handle both main table view and search bar table view