localStorage
supports persistent data storage, similar to cookies but with a greatly enhanced capacity and no information stored in the HTTP request header. To really test this functionality, try to add some click to the counter, exit the activity (and even the app) and open it again later.
You have pressed the button 0 time(s).
in some WebView versions it may be needed to set setDomStorageEnabled(true);
for correct functioning.