Fixed bug on second Preferences window request.