Fixed incorrect use of Drupal\Core\KeyValueStore\StateInterface. It's now Drupal\Core\State\StateInterface.