add notifications when switching layouts