Add commit before start creating the activities