Handle notifications in controller