created function to store the user's decision - exhibit or not the notification