Added code for Android LocalStorage