save state in ~/.atom