Add ability to save token in Preferences