finish ending a activity and begin a activity in currentActivity