Updated offlineCacheSettings to right way of handling the code in UI

Signed-off-by: Michel Verbraak <michel@1st-setup.nl>