Enabling on demand restricting before application is being updated