Fixed notifications being displayed multiple times