Restart after preferences change