remove open preferences command.