To fix the lifter chatter, you can try running the engine at a high idle for a few minutes. This will help to circulate the oil and remove the air bubbles. You can also try adding a lifter treatment to the oil. This can help to reduce the noise and prevent future lifter chatter.
If the lifter chatter persists, you may need to have the lifters replaced. This is a more expensive repair, but it may be necessary to get rid of the lifter chatter.