Extract note content retrieval into method.