public function deletePreset() {
		$key = esc_html($_POST['key']);
		if(empty($key)) {
			json_response([
				              'status' => 'error',
				              'error' => 'Seems that you may have forgotten something.'
			              ]);
		}


		$presets = get_option('ilab-imgix-presets');
		if($presets) {
			unset($presets[$key]);
			update_option('ilab-imgix-presets', $presets);
		}

		$sizePresets = get_option('ilab-imgix-size-presets');
		if(!$sizePresets) {
			$sizePresets = [];
		}

		foreach($sizePresets as $size => $preset) {
			if($preset == $key) {
				unset($sizePresets[$size]);
				break;
			}
		}

		update_option('ilab-imgix-size-presets', $sizePresets);

		return $this->displayEditUI(1);
	}