Modify the intent to only create one copy of each activity and switch
between them.