Avoid calling onActivePartChanged twice, first it's called in onRequestFocus().