[Offline Apps] Can't run Sample application for offline apps

I have followed each step for offline app till search functionality. I am not able to edit the record when followed by link but can add new record.

I have attached my sample oml file. Please have a look and help me on this.