Got userdefaults persistence working