add set range menu function.