private void updateScrollPosition(int removedTraces) {
    boolean shouldUpdateScrollPosition = removedTraces > 0;
    if (shouldUpdateScrollPosition) {
      int newScrollPosition = lastScrollPosition - removedTraces;
      lastScrollPosition = newScrollPosition;
      lv_traces.setSelectionFromTop(newScrollPosition, 0);
    }
  }
Hack to change EditText cursor color even if the API level is lower than 12. Please, don't do
this at home.
lynx/src/main/java/com/github/pedrovgs/lynx/LynxView.java