Settings JOptinPane bug fix