Fixed keyring local storage

fixes #154