Added persistence using NSUserDefaults