2010 Nissan Versa speedometer and AC

2010 Nissan versa speedometer stopped working and so did the air conditioner. stopped the car turned it back on and now it’s working any suggestions?

Speedometer is replaceable or it could be VSS (Vehicle Speed Sensor).

The Body Control Module may have had a glitch where it prevented these systems from functioning.