Added saving of user resolution