What does the word "propriety" mean in the following sentence?

For the sake of propriety, Ivan Jakovlevitch drew a coat over his shirt, sat down at the table, shook out some salt for himself, prepared two onions, assumed a serious expression, and began to cut the bread.

A. Being poor

B. Having little

C. showing off

D. Good manners