Fix a crash and fix notifications not showing for active chat in the background