Shopify App - Pagination Number change is not being saved into configration file

In Shopify App, the App Setting attribute products_full_results_hits_per_page is not being saved correctly in algolia_config.js.liquid.

For example, in Shopify App > Search Options Tab > Change “Products to be displayed” field from 16 to 32 (or 100 for that matter), the new number is saved, i.e., when you come back to the app, the new number 32 is displayed. However, the new number is not being written to config file algolia_config.js.liquid and the products_full_results_hits_per_page attribute remains 16, which is the default.

Please look into this. Thank you!