You've probally knocked the SRS connection for the steering wheel's airbag loose while you were in there tinkering with the speedometer. Disconnect the battery cable first (to avoid triggering the system by mistake), then remove the dash panel's/instrument cluster and look for the airbag wiring harness to insure it's connected.