added notification widget
little refactoring