Remove old preferences window