It's not correct to modify datastore options from the code. The datastore options are designed to be set for the user and shouldn't be modified by the code. Probably you can use an instance variable for this purpose.