save android state in the data dir