Refactor Activity Log.