@Override
  public void onResume() {
    super.onResume();

    mTransmitterAdapter.clear();
    mTransmitterAdapter.addAll(Storage.loadTransmitters());
    mTransmitterAdapter.notifyDataSetChanged();
  }
  @OnItemClick(R.id.list_view)
  public void onItemClick(int position) {
    if (Storage.isRuleEditing())
      findSensorId(mTransmitterAdapter.getItem(position), Storage.getRule().getSensorType());
    else {
      saveTransmitterData(mTransmitterAdapter.getItem(position));
      switchToEdit(FragmentName.SENSOR);
    }

    LogUtil.logMessage(
        Storage.isRuleEditing() ? LogUtil.EDIT_RULE_FINISH : LogUtil.CREATE_RULE_FINISH);
  }