Handling push notifications in the app