Add code for enable/disable contextly WP buttons according to API request state