Push notification, when App not open

I want App Push notification, when app pause or app stop like a line massage or facebook and other app.

And this is my block.
I use On App Stop even by if value between two variable not equal will notification.

Yes. When open app or app screen it not notification and when click home button it work.
But it just one notification although while app closed and value change it not work.
It work between app open and value change and will notification after closed app for once.

hey man, can you show all your screen in designer and all created codes?
thanks a lot!