Fixed back button since this activity has been called by different parent activities.