Displaying notification popup when an exception occurs