Make enable notifications a flag

So that it can be disabled.

Change-Id: I04d20b491cfa0c897160d9fc78c37a164cd09122