I recommend only grinding up what is needed for your recipe when working with flax and chia.  They are high in fats which may turn rancid more quickly when stored at room temperature.  If you buy flax meal or chia flour, my recommendation is to store them in the freezer to prevent them from turning.  They will not need any thawing when you need to use them as they stay in their ground state and can be easily measured.