Added history for built elements and clear option