Save and restore state in case of changes in the repository
changed version to 0.1.8
Fixed using char and limits on the same time bug
bugfixing