add for activity singleTask mode.