Fix undefined error
Fix resetting settings when typing new password
Fix unsetting default phrase flag
Fix double saving usage