added a search field and show the state on a better way, make it possible to change the state on the edit view
change some quirks to use the same code as a cordova app
same layout as cordova app