Fixed #14 - save/load last state