updated preferences window in separate controller