A phonegap plugin for fetching and saving user preference