Thanks for your reply, I will try to restore the sound config.
I was trying the volume example for the button shim, where one of the button should adjust the volume, then put a new card with the latest raspbian without the pivumeter script and it work.
Will let you know if it work by restoring the sound configuration
I have tryied again with a fresh copy of raspbian and everything appear to be working, tomorrow I will try with the rainbow hat.
By the way when I installed the speaker hat script which also installed the pivumeter, it did not create asound.conf.backup.