Somehow this problem has mysteriously gone away after a couple of hours of not working on the project.
The PC just sat there with the project opened while I tried the same thing to add key frames and adjust the volume and everything worked as it should.
The key frames adjusted the volume without any problems and the only thing that doesn't work is the waveform doesn't get changed when I change the key frames.
But I left the project open maybe it will be fine tomorrow morning.
