Resolved NPE in Settings by testing on null before accessing notification, regarding #417.