Fixed crashing from notification