pub fn handle_edit<T, S: EditableSetting>(
    data: T,
    result: Option<(String, Result<(), SettingError<S>>)>
) -> Option<T>