changes related to singleTop and closing activities upon closing