The animation in my timeline is not displayed when I hit the Animation button I previously animated a short animation. I wanted to redo the animation. So I redid the animation and it can be seen when you scrub through the frames in the time frame but when you hit the animation button it replays the old animation. Can can I force blender to use the new keyframes?
It's quite common to render an animation, load it in the Video Sequence Editor, and forget that it was there. If you make changes to your 3D scene and render, you'd be looking at your old scene, not the newly altered one. The video strips on the VSE override your 3D scene unless you unclick the sequencer checkbox.