The tendency for the elderly to perceive, prefer, and remember pleasant images and experiences more than unpleasant ones is called the positivity effect.
It is called the positivity effect because they focus more so on positivity more than negativity.