How to start a new task if notification has been received?