Feature/input autosave

This commit implements autosave for input fields and fixes #151