fixes for android. added localStorage logging