fix const in view_controller::get_setting