[NOT COMPILABLE] introducing special class for storing a notification stack
refactoring notification widget