added table view loading and image restore