properly close previous notification