How to save push notifications with the app closed?

Hello people,

When the app is open it saves perfectly,

I also wanted to save with a closed application.