bug fix with notify and keep on top

fixed it so if its kept on top, it wont flash