refactor notifications UI