Setting up Conditions in Notifications