using REGISTER_KEY constant in setting editor values