Store and read last activity times.