added persistent saving activiy, almost done, not used by now