Can't set download remote images

Nothing in logs, but I found that reloading admin page with option multiple times, sometimes shows the checkmark in the box, sometimes checkmark is missing.

Seems I found the issue, the record in database was duplicate

 id |              name               | data_type | value |         created_at         |         updated_at
----+---------------------------------+-----------+-------+----------------------------+----------------------------
 46 | download_remote_images_to_local |         5 | t     | 2018-05-28 21:27:26.542915 | 2018-06-05 10:40:51.894279
 47 | download_remote_images_to_local |         5 | f     | 2018-05-28 21:27:26.543519 | 2018-06-05 10:40:49.163287
(2 rows)

Removed both records, reapplied option from admin panel, new proper record applied.